<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibTools: Logs类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibTools
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.16 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="class_logs-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">Logs类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="log_8h_source.html">log.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a4ef359cfa789abe022d24f1a9da49513"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_logs.html#a4ef359cfa789abe022d24f1a9da49513">Logs</a> (<a class="el" href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a> iLevel, <a class="el" href="log_8h.html#a598614497618c67555cca9bedcb366f0">CPLOGSTR</a> sPath)</td></tr>
<tr class="separator:a4ef359cfa789abe022d24f1a9da49513"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c79141c15120ce484b85954b74f1ad4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_logs.html#a4c79141c15120ce484b85954b74f1ad4">Logs</a> (bool bOpen=true)</td></tr>
<tr class="separator:a4c79141c15120ce484b85954b74f1ad4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6227976848fb64144ff93587479df43d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_logs.html#a6227976848fb64144ff93587479df43d">~Logs</a> ()</td></tr>
<tr class="separator:a6227976848fb64144ff93587479df43d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37c6b41e09bb7501cd54780188901232"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_logs.html#a37c6b41e09bb7501cd54780188901232">Close</a> ()</td></tr>
<tr class="separator:a37c6b41e09bb7501cd54780188901232"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1011d177388f17d63028b0275825fb85"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_logs.html#a1011d177388f17d63028b0275825fb85">operator!</a> ()</td></tr>
<tr class="separator:a1011d177388f17d63028b0275825fb85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f4e5ae5e1968fdbe03e0dcc16e59be0"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_logs.html#a5f4e5ae5e1968fdbe03e0dcc16e59be0">reopenLog</a> (<a class="el" href="log_8h.html#a598614497618c67555cca9bedcb366f0">CPLOGSTR</a> sPath)</td></tr>
<tr class="separator:a5f4e5ae5e1968fdbe03e0dcc16e59be0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f438b0a141d8f3ed2b179edbe900256"><td class="memItemLeft" align="right" valign="top"><a class="el" href="log_8h.html#a598614497618c67555cca9bedcb366f0">CPLOGSTR</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_logs.html#a9f438b0a141d8f3ed2b179edbe900256">getCurPath</a> ()</td></tr>
<tr class="separator:a9f438b0a141d8f3ed2b179edbe900256"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46b30d1ff5ecce361796c176370d6e69"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_logs.html#a46b30d1ff5ecce361796c176370d6e69">createFile</a> (<a class="el" href="log_8h.html#a598614497618c67555cca9bedcb366f0">CPLOGSTR</a> sFileName)</td></tr>
<tr class="separator:a46b30d1ff5ecce361796c176370d6e69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab38dcc94f57e1eb9f9ae1a71af03cb01"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_logs.html#ab38dcc94f57e1eb9f9ae1a71af03cb01">fileExists</a> (<a class="el" href="log_8h.html#a598614497618c67555cca9bedcb366f0">CPLOGSTR</a> sFileName)</td></tr>
<tr class="separator:ab38dcc94f57e1eb9f9ae1a71af03cb01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afce19298fbcc8876234d17f90a630acd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="log_8h.html#a598614497618c67555cca9bedcb366f0">CPLOGSTR</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_logs.html#afce19298fbcc8876234d17f90a630acd">getCurTime</a> ()</td></tr>
<tr class="separator:afce19298fbcc8876234d17f90a630acd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05531ea72e9b39447bc1090292eb3a66"><td class="memItemLeft" align="right" valign="top"><a class="el" href="log_8h.html#a598614497618c67555cca9bedcb366f0">CPLOGSTR</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_logs.html#a05531ea72e9b39447bc1090292eb3a66">getCurDate</a> ()</td></tr>
<tr class="separator:a05531ea72e9b39447bc1090292eb3a66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6becc124d9f7eef58cd28b6ad7be5d0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_logs.html#af6becc124d9f7eef58cd28b6ad7be5d0">WriteLog</a> (<a class="el" href="log_8h.html#a598614497618c67555cca9bedcb366f0">CPLOGSTR</a> szMsg, <a class="el" href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a> iSize, <a class="el" href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a> iLogLevel)</td></tr>
<tr class="separator:af6becc124d9f7eef58cd28b6ad7be5d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c4d647557225027f263e062eb598572"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_logs.html#a7c4d647557225027f263e062eb598572">WriteLog</a> (<a class="el" href="log_8h.html#a598614497618c67555cca9bedcb366f0">CPLOGSTR</a> szLog, <a class="el" href="logdef_8h.html#aca1fd1d8935433e6ba2e3918214e07f9">LogLevel</a> nLogLevel)</td></tr>
<tr class="separator:a7c4d647557225027f263e062eb598572"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:a8133cc403049290ee0c59d0c6913f463"><td class="memItemLeft" align="right" valign="top"><a class="el" href="log_8h.html#a598614497618c67555cca9bedcb366f0">CPLOGSTR</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_logs.html#a8133cc403049290ee0c59d0c6913f463">defaultPath</a> ()</td></tr>
<tr class="separator:a8133cc403049290ee0c59d0c6913f463"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e358b73feb2b3fcf014ef4a5581dbcb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="log_8h.html#a598614497618c67555cca9bedcb366f0">CPLOGSTR</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_logs.html#a1e358b73feb2b3fcf014ef4a5581dbcb">GetLevelStr</a> (<a class="el" href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a> iLevel)</td></tr>
<tr class="separator:a1e358b73feb2b3fcf014ef4a5581dbcb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:a392cb4fba0944c1a6f032cfd5b45a20e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="log_8h.html#a32ffe8467929b73e36efd042b380e7d3">LOGSTR</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_logs.html#a392cb4fba0944c1a6f032cfd5b45a20e">_sPath</a> [<a class="el" href="log_8h.html#a612428373724b228e831e6887b2304f8">DIR_MAX</a>]</td></tr>
<tr class="separator:a392cb4fba0944c1a6f032cfd5b45a20e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9bc102cb2fe409993ed07fd67c41b66"><td class="memItemLeft" align="right" valign="top"><a class="el" href="log_8h.html#a32ffe8467929b73e36efd042b380e7d3">LOGSTR</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_logs.html#aa9bc102cb2fe409993ed07fd67c41b66">_sTime</a> [<a class="el" href="log_8h.html#a612428373724b228e831e6887b2304f8">DIR_MAX</a>]</td></tr>
<tr class="separator:aa9bc102cb2fe409993ed07fd67c41b66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a94539b15985728880fb87d4306d066"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_logs.html#a6a94539b15985728880fb87d4306d066">_iLogLevel</a></td></tr>
<tr class="separator:a6a94539b15985728880fb87d4306d066"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc057cc6ed726862c17523c42e9de605"><td class="memItemLeft" align="right" valign="top"><a class="el" href="log_8h.html#a72ce0c80d97a3c76239e560d51717951">OFILE</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_logs.html#afc057cc6ed726862c17523c42e9de605">_ofile</a></td></tr>
<tr class="separator:afc057cc6ed726862c17523c42e9de605"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock">
<p class="definition">在文件 <a class="el" href="log_8h_source.html">log.h</a> 第 <a class="el" href="log_8h_source.html#l00067">67</a> 行定义.</p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a4ef359cfa789abe022d24f1a9da49513"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4ef359cfa789abe022d24f1a9da49513">&#9670;&nbsp;</a></span>Logs() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Logs::Logs </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a>&#160;</td>
          <td class="paramname"><em>iLevel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="log_8h.html#a598614497618c67555cca9bedcb366f0">CPLOGSTR</a>&#160;</td>
          <td class="paramname"><em>sPath</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="log_8cpp_source.html">log.cpp</a> 第 <a class="el" href="log_8cpp_source.html#l00023">23</a> 行定义.</p>

</div>
</div>
<a id="a4c79141c15120ce484b85954b74f1ad4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4c79141c15120ce484b85954b74f1ad4">&#9670;&nbsp;</a></span>Logs() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Logs::Logs </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>bOpen</em> = <code>true</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="log_8cpp_source.html">log.cpp</a> 第 <a class="el" href="log_8cpp_source.html#l00009">9</a> 行定义.</p>

</div>
</div>
<a id="a6227976848fb64144ff93587479df43d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6227976848fb64144ff93587479df43d">&#9670;&nbsp;</a></span>~Logs()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Logs::~Logs </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="log_8cpp_source.html">log.cpp</a> 第 <a class="el" href="log_8cpp_source.html#l00031">31</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a37c6b41e09bb7501cd54780188901232"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a37c6b41e09bb7501cd54780188901232">&#9670;&nbsp;</a></span>Close()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Logs::Close </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="log_8cpp_source.html">log.cpp</a> 第 <a class="el" href="log_8cpp_source.html#l00040">40</a> 行定义.</p>

</div>
</div>
<a id="a46b30d1ff5ecce361796c176370d6e69"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a46b30d1ff5ecce361796c176370d6e69">&#9670;&nbsp;</a></span>createFile()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Logs::createFile </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="log_8h.html#a598614497618c67555cca9bedcb366f0">CPLOGSTR</a>&#160;</td>
          <td class="paramname"><em>sFileName</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="log_8cpp_source.html">log.cpp</a> 第 <a class="el" href="log_8cpp_source.html#l00061">61</a> 行定义.</p>

</div>
</div>
<a id="a8133cc403049290ee0c59d0c6913f463"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8133cc403049290ee0c59d0c6913f463">&#9670;&nbsp;</a></span>defaultPath()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="log_8h.html#a598614497618c67555cca9bedcb366f0">CPLOGSTR</a> Logs::defaultPath </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="log_8cpp_source.html">log.cpp</a> 第 <a class="el" href="log_8cpp_source.html#l00069">69</a> 行定义.</p>

</div>
</div>
<a id="ab38dcc94f57e1eb9f9ae1a71af03cb01"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab38dcc94f57e1eb9f9ae1a71af03cb01">&#9670;&nbsp;</a></span>fileExists()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Logs::fileExists </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="log_8h.html#a598614497618c67555cca9bedcb366f0">CPLOGSTR</a>&#160;</td>
          <td class="paramname"><em>sFileName</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="log_8cpp_source.html">log.cpp</a> 第 <a class="el" href="log_8cpp_source.html#l00055">55</a> 行定义.</p>

</div>
</div>
<a id="a05531ea72e9b39447bc1090292eb3a66"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a05531ea72e9b39447bc1090292eb3a66">&#9670;&nbsp;</a></span>getCurDate()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="log_8h.html#a598614497618c67555cca9bedcb366f0">CPLOGSTR</a> Logs::getCurDate </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="log_8cpp_source.html">log.cpp</a> 第 <a class="el" href="log_8cpp_source.html#l00129">129</a> 行定义.</p>

</div>
</div>
<a id="a9f438b0a141d8f3ed2b179edbe900256"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f438b0a141d8f3ed2b179edbe900256">&#9670;&nbsp;</a></span>getCurPath()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="log_8h.html#a598614497618c67555cca9bedcb366f0">CPLOGSTR</a> Logs::getCurPath </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="log_8cpp_source.html">log.cpp</a> 第 <a class="el" href="log_8cpp_source.html#l00050">50</a> 行定义.</p>

</div>
</div>
<a id="afce19298fbcc8876234d17f90a630acd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afce19298fbcc8876234d17f90a630acd">&#9670;&nbsp;</a></span>getCurTime()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="log_8h.html#a598614497618c67555cca9bedcb366f0">CPLOGSTR</a> Logs::getCurTime </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="log_8cpp_source.html">log.cpp</a> 第 <a class="el" href="log_8cpp_source.html#l00103">103</a> 行定义.</p>

</div>
</div>
<a id="a1e358b73feb2b3fcf014ef4a5581dbcb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1e358b73feb2b3fcf014ef4a5581dbcb">&#9670;&nbsp;</a></span>GetLevelStr()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="log_8h.html#a598614497618c67555cca9bedcb366f0">CPLOGSTR</a> Logs::GetLevelStr </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a>&#160;</td>
          <td class="paramname"><em>iLevel</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="log_8cpp_source.html">log.cpp</a> 第 <a class="el" href="log_8cpp_source.html#l00116">116</a> 行定义.</p>

</div>
</div>
<a id="a1011d177388f17d63028b0275825fb85"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1011d177388f17d63028b0275825fb85">&#9670;&nbsp;</a></span>operator!()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Logs::operator! </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="log_8cpp_source.html">log.cpp</a> 第 <a class="el" href="log_8cpp_source.html#l00045">45</a> 行定义.</p>

</div>
</div>
<a id="a5f4e5ae5e1968fdbe03e0dcc16e59be0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f4e5ae5e1968fdbe03e0dcc16e59be0">&#9670;&nbsp;</a></span>reopenLog()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Logs::reopenLog </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="log_8h.html#a598614497618c67555cca9bedcb366f0">CPLOGSTR</a>&#160;</td>
          <td class="paramname"><em>sPath</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="log_8cpp_source.html">log.cpp</a> 第 <a class="el" href="log_8cpp_source.html#l00082">82</a> 行定义.</p>

</div>
</div>
<a id="a7c4d647557225027f263e062eb598572"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7c4d647557225027f263e062eb598572">&#9670;&nbsp;</a></span>WriteLog() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a> Logs::WriteLog </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="log_8h.html#a598614497618c67555cca9bedcb366f0">CPLOGSTR</a>&#160;</td>
          <td class="paramname"><em>szLog</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="logdef_8h.html#aca1fd1d8935433e6ba2e3918214e07f9">LogLevel</a>&#160;</td>
          <td class="paramname"><em>nLogLevel</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="log_8h_source.html">log.h</a> 第 <a class="el" href="log_8h_source.html#l00101">101</a> 行定义.</p>

</div>
</div>
<a id="af6becc124d9f7eef58cd28b6ad7be5d0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af6becc124d9f7eef58cd28b6ad7be5d0">&#9670;&nbsp;</a></span>WriteLog() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a> Logs::WriteLog </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="log_8h.html#a598614497618c67555cca9bedcb366f0">CPLOGSTR</a>&#160;</td>
          <td class="paramname"><em>szMsg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a>&#160;</td>
          <td class="paramname"><em>iSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a>&#160;</td>
          <td class="paramname"><em>iLogLevel</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="log_8cpp_source.html">log.cpp</a> 第 <a class="el" href="log_8cpp_source.html#l00141">141</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="a6a94539b15985728880fb87d4306d066"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a94539b15985728880fb87d4306d066">&#9670;&nbsp;</a></span>_iLogLevel</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a> Logs::_iLogLevel</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="log_8h_source.html">log.h</a> 第 <a class="el" href="log_8h_source.html#l00105">105</a> 行定义.</p>

</div>
</div>
<a id="afc057cc6ed726862c17523c42e9de605"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc057cc6ed726862c17523c42e9de605">&#9670;&nbsp;</a></span>_ofile</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="log_8h.html#a72ce0c80d97a3c76239e560d51717951">OFILE</a>* Logs::_ofile</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="log_8h_source.html">log.h</a> 第 <a class="el" href="log_8h_source.html#l00106">106</a> 行定义.</p>

</div>
</div>
<a id="a392cb4fba0944c1a6f032cfd5b45a20e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a392cb4fba0944c1a6f032cfd5b45a20e">&#9670;&nbsp;</a></span>_sPath</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="log_8h.html#a32ffe8467929b73e36efd042b380e7d3">LOGSTR</a> Logs::_sPath[<a class="el" href="log_8h.html#a612428373724b228e831e6887b2304f8">DIR_MAX</a>]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="log_8h_source.html">log.h</a> 第 <a class="el" href="log_8h_source.html#l00103">103</a> 行定义.</p>

</div>
</div>
<a id="aa9bc102cb2fe409993ed07fd67c41b66"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa9bc102cb2fe409993ed07fd67c41b66">&#9670;&nbsp;</a></span>_sTime</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="log_8h.html#a32ffe8467929b73e36efd042b380e7d3">LOGSTR</a> Logs::_sTime[<a class="el" href="log_8h.html#a612428373724b228e831e6887b2304f8">DIR_MAX</a>]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="log_8h_source.html">log.h</a> 第 <a class="el" href="log_8h_source.html#l00104">104</a> 行定义.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>H:/project/LibTools/src/log/<a class="el" href="log_8h_source.html">log.h</a></li>
<li>H:/project/LibTools/src/log/<a class="el" href="log_8cpp_source.html">log.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
